<?php
$config_file=$smarty->config_dir."/general.ini";
$config_section="FTP";

$configs=parse_ini_file($config_file, $config_section);

$smarty->assign('folder', "vide");

$smarty->assign('folders', array('vide'=>'dir'));
$smarty->assign('var1', "FTP");
$smarty->assign('index', "index");

?>
